#ifndef __NJGIS_NJRUNNINGLOG_H__
#define __NJGIS_NJRUNNINGLOG_H__
#include "../include/INxRunningLog.h"
#include "NxService.h"

namespace NJGIS
{
	namespace SERVICE
	{
		class NjRunningLog : public virtual INjRunningLog
		{
		public:
			NjRunningLog():_mark(false){};

			NjRunningLog(
				const char* type,
				const char* state,
				const char* event,
				int flag,
				const char* message,
				const char* datetime
				):
			    _type(type),
				_state(state),
				_event(event),
				_flag(flag),
				_message(message),
				_datetime(datetime),
				_mark(false)
			{};
			virtual const char* getType();

			virtual const char* getState();

			virtual const char* getEvent();

			virtual int getFlag();

			virtual const char* getMessage();

			virtual const char* getDateTime();

			virtual bool getMark();

			virtual void setMark( bool mark );

			virtual void print();

		private:
			std::string _type;
			std::string _state;
			std::string _event;
			int _flag;
			std::string _message;
			std::string _datetime;
			bool _mark;
		};
	}
}

#endif